package com.hzhr.iot.user.model.resource;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.user.entity.ResourceEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "ResourcePutModel", description = "资源模型(修改全部属性)")
@CygModel(entity = ResourceEntity.class)
public class ResourcePutModel {
    @ApiModelProperty(value = "说明 : 服务", required = true)
    @CygProperty(show = "", entityProp = "service")
    private String service;
    @ApiModelProperty(value = "说明 : 版本", required = true)
    @CygProperty(show = "", entityProp = "version")
    private String version;
    @ApiModelProperty(value = "说明 : 资源", required = true)
    @CygProperty(show = "", entityProp = "uri")
    private String uri;
    @ApiModelProperty(value = "说明 : 描述")
    @CygProperty(show = "", entityProp = "des")
    private String des;

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }
}
